﻿using ETWJ.DTO;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ETWJ.Iservice
{
    public interface IProductOrderService<T, TDTO> : IServiceTag
    {
        Task<int> AddNewAsync(T dto);
        Task<List<AddOrderProductModel>> GetProductByOrderId(int orderId);
        Task<int> DeleteProByPrIdAndProCode(int productId, string orderCode);
    }
}
